<?php
class Hilights extends Public_Controller
{
	function __construct()
	{
		parent::__construct();
	}
	
	function inc_home()
	{
		$data['hilights'] = new Hilight();
		//$data['hilights']->where("start_date <= date(sysdate()) and (end_date >= date(sysdate()) or end_date = date('0000-00-00')) and status = 'approve'")->order_by('id','random')->limit(4)->get();
		$data['hilights']->where("status = 'approve'")->order_by('id','random')->limit(4)->get();
		$this->load->view('inc_home',$data);
	}
}
?>